package msexcel  ;

import com4j.*;

/**
 * Defines methods to create COM objects
 */
public abstract class ClassFactory {
  private ClassFactory() {} // instanciation is not allowed


  public static msexcel._QueryTable createQueryTable() {
    return COM4J.createInstance( msexcel._QueryTable.class, "{59191DA1-EA47-11CE-A51F-00AA0061507F}" );
  }

  public static msexcel._Application createApplication() {
    return COM4J.createInstance( msexcel._Application.class, "{00024500-0000-0000-C000-000000000046}" );
  }

  public static msexcel._Chart createChart() {
    return COM4J.createInstance( msexcel._Chart.class, "{00020821-0000-0000-C000-000000000046}" );
  }

  public static msexcel._Worksheet createWorksheet() {
    return COM4J.createInstance( msexcel._Worksheet.class, "{00020820-0000-0000-C000-000000000046}" );
  }

  public static msexcel._Global createGlobal() {
    return COM4J.createInstance( msexcel._Global.class, "{00020812-0000-0000-C000-000000000046}" );
  }

  public static msexcel._Workbook createWorkbook() {
    return COM4J.createInstance( msexcel._Workbook.class, "{00020819-0000-0000-C000-000000000046}" );
  }

  public static msexcel._OLEObject createOLEObject() {
    return COM4J.createInstance( msexcel._OLEObject.class, "{00020818-0000-0000-C000-000000000046}" );
  }

  public static msexcel._Windows createWindows() {
    return COM4J.createInstance( msexcel._Windows.class, "{0002E185-0000-0000-C000-000000000046}" );
  }

  public static msexcel._LinkedWindows createLinkedWindows() {
    return COM4J.createInstance( msexcel._LinkedWindows.class, "{0002E187-0000-0000-C000-000000000046}" );
  }

  public static msexcel._ReferencesEvents createReferencesEvents() {
    return COM4J.createInstance( msexcel._ReferencesEvents.class, "{0002E119-0000-0000-C000-000000000046}" );
  }

  public static msexcel._CommandBarControlEvents createCommandBarEvents() {
    return COM4J.createInstance( msexcel._CommandBarControlEvents.class, "{0002E132-0000-0000-C000-000000000046}" );
  }

  public static msexcel._ProjectTemplate createProjectTemplate() {
    return COM4J.createInstance( msexcel._ProjectTemplate.class, "{32CDF9E0-1602-11CE-BFDC-08002B2B8CDA}" );
  }

  public static msexcel._VBProject createVBProject() {
    return COM4J.createInstance( msexcel._VBProject.class, "{0002E169-0000-0000-C000-000000000046}" );
  }

  public static msexcel._VBProjects createVBProjects() {
    return COM4J.createInstance( msexcel._VBProjects.class, "{0002E101-0000-0000-C000-000000000046}" );
  }

  public static msexcel._Components createComponents() {
    return COM4J.createInstance( msexcel._Components.class, "{BE39F3D6-1B13-11D0-887F-00A0C90F2744}" );
  }

  public static msexcel._VBComponents createVBComponents() {
    return COM4J.createInstance( msexcel._VBComponents.class, "{BE39F3D7-1B13-11D0-887F-00A0C90F2744}" );
  }

  public static msexcel._Component createComponent() {
    return COM4J.createInstance( msexcel._Component.class, "{BE39F3D8-1B13-11D0-887F-00A0C90F2744}" );
  }

  public static msexcel._VBComponent createVBComponent() {
    return COM4J.createInstance( msexcel._VBComponent.class, "{BE39F3DA-1B13-11D0-887F-00A0C90F2744}" );
  }

  public static msexcel._Properties createProperties() {
    return COM4J.createInstance( msexcel._Properties.class, "{0002E18B-0000-0000-C000-000000000046}" );
  }

  public static msexcel._AddIns createAddins() {
    return COM4J.createInstance( msexcel._AddIns.class, "{DA936B63-AC8B-11D1-B6E5-00A0C90F2744}" );
  }

  public static msexcel._CodeModule createCodeModule() {
    return COM4J.createInstance( msexcel._CodeModule.class, "{0002E170-0000-0000-C000-000000000046}" );
  }

  public static msexcel._CodePanes createCodePanes() {
    return COM4J.createInstance( msexcel._CodePanes.class, "{0002E174-0000-0000-C000-000000000046}" );
  }

  public static msexcel._CodePane createCodePane() {
    return COM4J.createInstance( msexcel._CodePane.class, "{0002E178-0000-0000-C000-000000000046}" );
  }

  public static msexcel._References createReferences() {
    return COM4J.createInstance( msexcel._References.class, "{0002E17C-0000-0000-C000-000000000046}" );
  }

  public static msexcel._CustomXMLSchemaCollection createCustomXMLSchemaCollection() {
    return COM4J.createInstance( msexcel._CustomXMLSchemaCollection.class, "{000CDB0D-0000-0000-C000-000000000046}" );
  }
}
